package org.zfes.snowier.cloud.zbss.loan.config.dic.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zfes.snowier.cloud.zbss.loan.config.dic.model.DicSysconfig;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.core.data.Record;

import java.util.List;

@Mapper
public interface DicSysconfigMapper extends BaseMapper<DicSysconfig> {
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapList(ParamMap params);
	
	List<DicSysconfig> selectModelList(ParamMap params);
	
	DicSysconfig selectByConfCode(@Param("confCode") String confCode);

	//int updateStatus(@Param("id")Long id, @Param("status")Byte status);

	List<DicSysconfig> selectByConfCodeIn(@Param("codeList") List<String> codeList);
}
